xenstore: In xenstore_client, avoid stack buffer in recursive function
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Jun 2014 10:54:56 +0000 (11:54 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 14 Jul 2014 15:07:50 +0000 (16:07 +0100)
commit848a23560fc847a4a58db138c39a0cfa4ff96f59
tree7ef89e7284e2a609c54ed11adefb1252355e9c40
parent61ee098eb7b763ae6a90b334c8d1d2f6e5d96dcf
xenstore: In xenstore_client, avoid stack buffer in recursive function

do_ls is recursive.  It had a buffer of size around 5K allocated on
the stack.  This combination is not a very good idea: some
environments (eg, Mini-OS) have limited stack sizes (eg 64K).

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstore/xenstore_client.c